package com.taxinfo.controller;

import com.taxinfo.AbstractApp;
import com.taxinfo.view.UpdatePasswordView;
import com.taxinfo.view.WelcomeView;
import de.felixroske.jfxsupport.FXMLController;
import javafx.fxml.FXML;
import javafx.fxml.Initializable;
import javafx.scene.control.Button;
import javafx.scene.control.PasswordField;
import javafx.scene.control.TextField;
import javafx.scene.layout.VBox;

import java.net.URL;
import java.util.ResourceBundle;

@FXMLController
public class UpdatePasswdController implements Initializable {
    @FXML
    public VBox vbRoot;
    @FXML
    public TextField tf_username;
    @FXML
    public PasswordField pf_password;
    @FXML
    public PasswordField pf_passwordOk;

    @FXML
    public Button btn_update;

    @Override
    public void initialize(URL url, ResourceBundle resourceBundle) {
        tf_username.clear();
        pf_password.clear();
        pf_passwordOk.clear();
    }

    @FXML
    private void btn_update(){
        AbstractApp.showView(UpdatePasswordView.class);
    }


}
